package com.zxjbyte.yiyi.module.system.domain.param;

import com.zxjbyte.yiyi.framework.common.constant.Constant;
import com.zxjbyte.yiyi.framework.common.domain.api.PageQuery;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author zhangxingjia
 * @Date 2023/5/12 15:10
 * @Version: 1.0
 */
@Data
@Schema(description = "对象存储配置列表请求结构体")
public class OssConfigListParam extends PageQuery {

    @Parameter(description = "配置名")
    private String name;

    @Parameter(description = "存储器编号")
    private String storageCode;

    @Parameter(description = "创建开始时间")
    @DateTimeFormat(pattern = Constant.PATTERN_DATETIME)
    private Date startCreateTime;

    @Parameter(description = "创建结束时间")
    @DateTimeFormat(pattern = Constant.PATTERN_DATETIME)
    private Date endCreateTime;
}
